html{
	background-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
}

body{
	padding: 10px;
}


img {
	width: 100%;
}

#uploadForm input {
	margin: 5px;
	border-radius: 5px;
	width: 300px;
}

#uploadForm input[type='file'] {
	font-size: 15px;
	display: block;
}

#uploadForm input[type='submit'] {
	font-size: 25px;
	height: 50px;
}

.picMenu {
	width: 100%;
}

.picMenu #deleteButton{
	position: absolute;
	right: 2px;
	width: 70px;
	bottom: 32px;
}

.picMenu #deleteButton input{
	width: 100%;
	opacity: 1;
	border-radius: 5px;
}

.pictureDiv {

	position: relative;
	margin: 5px;
	border: 1px solid black;
	display: inline-block;
	width: 300px;
	
}

.pictureDiv a{
	padding: 10px;
	background-image: none;
	border-radius: 0;
	border: none;
}


.pictureDiv a:hover{
	padding: 5px;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.pictureDiv h1 {
	color: rgb(200,200,200);
	font-size: 16px;
	height: 30px;
	line-height:30px;
	text-align: center;
	background-image: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
}

#logoutButton{
	position: absolute; 
	top: 5px;
	right: 5px;
	width: 80px; 
}

#currentFolder{
	position: absolute;
	left: 242px;
	top: 15px;
	width: 400px;
	height: 50px;
	font-size: 30px;
	line-height: 50px;
	display: block;
	color: rgb(200,200,200);
	padding: 5px;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 100%);
	border: 1px solid rgba(0,0,0,0.8);
	border-radius: 5px;
	text-align: center;
}

@media screen and (max-width: 972px) {

#currentFolder{
	position: static;
	display: inline-block;
	width: 40%;
}

.backLink, .backLink:visited {
	margin: 10px;
	display: inline-block;
	width: 40%;
}

.pictureDiv {
	width: 280px;
}

#uploadForm input {
	width: 280px;
}

}


@media screen and (max-width: 920px) {

#currentFolder{
	font-size: 30px;
	line-height: 50px;
	height: 50px;
}

.pictureDiv {
	width: 31%;
}

#uploadForm input {
	width: 31%;
}

}

@media screen and (max-width: 750px) {

#currentFolder{
	display: block;
	margin: 10px;
}

.backLink, .backLink:visited {
	display: block;
}

#logoutButton{
	position: absolute; 
	top: 5px;
	right: 5px;
	width: 80px; 
}

.pictureDiv {
	width: 48%;
}

#uploadForm input {
	width: 48%;
}

}

@media screen and (max-width: 640px) {


#currentFolder{
	display: block;
	width: 90%;
	margin: 10px auto;
}

.backLink, .backLink:visited {
	display: block;
	width: 90%;
	margin: 10px auto;
}

#logoutButton{
	position: static; 
	display: block;
	width: 40%;
	margin: 10px auto;
}

.pictureDiv {
	margin: 10px auto;
	width: 100%;
}

#uploadForm input {
	width: 90%;
	margin: 10px auto;
	display: block;
}


}